package com.xbang.attendance.service;

import com.xbang.attendance.entity.system.MaintenanceStation;
import com.xbang.core.service.BaseService;

/**
 * @author huawei
 * @email alonelaval@gmail.com
 */
public interface MaintenanceStationService extends BaseService {
	/***
	 * 验证是否存在该维修站
	 * @param code
	 * @return
	 * @throws Exception
	 */
	Boolean checkMaintenanceStation(String code) throws Exception;
	/***
	 * 根据维修站编号得到维修站
	 * @param number
	 * @return
	 * @throws Exception
	 */
	MaintenanceStation getMaintenanceStationByNumber(String number) throws Exception;
	/**
	 * 根据ID得到该维修站是
	 * @param id
	 * @return
	 * @throws Exception
	 */
	MaintenanceStation getMaintenanceStationById(Integer id)throws Exception;
}

